package com.CoreryBlack.po;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @Description ClazzQueryaram
 * @Author CoreryBlack
 * @Date 2024-09-19
 */

@Data
public class ClazzQueryParam {

    private Integer page = 1;
    private Integer pageSize = 5;
    private String name;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate begin;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate end;
}
